package com.anjie.powerproject.service;

import com.anjie.powerproject.entity.Point;

import java.util.List;

public interface PointService {
    List<Point> getPointList();

    Point getPointById(Integer id);

    boolean deletePointById(Integer id);

    Integer updatePoint(String pointName,String devCode ,Integer id);

    List<Point> getPointListByConditions(String pointName,String devCode);

    Point add(Point point);

    Integer pointIsExist(String pointName, String devCode);

    Integer pointDevCodeIsExist(String devCode);

    Integer pointNameIsExist(String pointName);

    List<String> getAllPointDevCode();

    List<String> fuzzySelectPointDevCode(String devCode);

    Point getPointByDevCode(String devCode);
}
